/**
 * 
 */
package com.feonix.designPattern.bridge.sample1;

/**
 * @CopyRight (c)1993-2017
 * @Project common_practice
 * @Comments 请输入该类的描述
 * @NameSpace com.feonix.designPattern.bridge.sample1
 * @Author Feonixzw
 * @CreateDate 2018年2月5日
 */
public class DisplayImpl {
	
	private Display display;
	
	public DisplayImpl(Display display){
		this.display = display;
	}
	
	public void open(){
		this.display.rawOpen();
	}
	
	public void print(){
		this.display.rawPrint();
	}
	
	public void close(){
		this.display.rawClose();
	}
	
	public final void display(){
		this.open();
		this.print();
		this.close();
	}

}
